package com.zyb.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zyb.pojo.Grade;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface GradeService extends IService<Grade> {

    //条件查询带分页
    IPage<Grade> getGradePage(Integer pageNo, Integer pageSize, String gradeName);

    //查询全部
    List<Grade> getGrades();
}
